package insight.Expression;

import java.util.LinkedList;
import java.util.List;

/**
 * @author huu
 * @create 2025-08-24-12:19
 * @description: 希望通过组合模式实现一个计算器
 */
public class Main {
    public static void main(String[] args) {
        //1+15-20+(33/2)
        String infix = "1+15-(20+33/2)";
        transform t = new transform(infix);
        System.out.println(t.parse().getvalue());
        System.out.println(1+15-(20+33/2));
    }


}
